package com.amphora.services.application;

import java.util.Calendar;

import org.joda.time.DateTime;

public interface UtilService {

	public DateTime convertCalendarToDateTime(Calendar date);
	
	public DateTime calculateEndOfCalendarEventDT(DateTime start, int duration);
	
	public Calendar calculateEndOfCalendarEventCal(Long startInMillis, int duration);
	
	public boolean sendNotificationEmail(String to, String subject,String body);
	
	public String encryptPassword(String password) throws Exception;
	
	public String decrypt(String encryptedValue) throws Exception;
}
